package pos.Junit;

import java.util.List;

import pos.dominio.AccionSimpleFactory;
import pos.dominio.Jugador;
import pos.dominio.PartidaFacade;
import pos.dominio.Tablero;
import junit.framework.TestCase;

public class TestAccionSimpleFactory extends TestCase {

	Jugador j;
	Tablero t;
	PartidaFacade p;
	AccionSimpleFactory ac;
	
	public TestAccionSimpleFactory() {
	
	}

	protected void setUp() throws Exception {
		p = new PartidaFacade();
		j = new Jugador("jugador", 2, p);
		t = new Tablero(p);
		ac = new AccionSimpleFactory();
	}

	protected void tearDown() throws Exception {
		super.tearDown();
	}

	public void testCrearAcciones() {
		assertTrue(ac.crearAcciones(j, t) instanceof List<?>);
	}

}
